package com.itheima.pinda.DTO.entity.pojo.agency;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 车队表
 * </p>
 *
 * @author xy
 * @since 2021-11-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class PdFleet extends Model<PdFleet> {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private String id;

    /**
     * 车队名称
     */
    private String name;

    /**
     * 车队编号
     */
    private String fleetNumber;

    /**
     * 所属机构
     */
    private String agencyId;

    /**
     * 负责人
     */
    private String manager;

    /**
     * 状态 0：禁用 1：正常
     */
    private Integer status;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
